package org.example.springboot05mybatis;

import org.example.springboot05mybatis.model.User;
import org.example.springboot05mybatis.model.bi;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("org.example.springboot05mybatis.repository")
public class Springboot05MybatisApplication {

	public static void main(String[] args) {

		SpringApplication.run(Springboot05MybatisApplication.class, args);
//		User user = new User("123", "456");
//		System.out.println(user.getPassword());
		bi build = bi.builder().name("123").value("456").build();
		System.out.println(build.getName());
	}

}
